package com.mgy.db;

/**
 * 逻辑表的分库分表数量
 *
 * @author maguoyong
 * @date 2019/12/18
 */
public class TableInfo {
    /**
     * 逻辑表名
     */
    private String logicTable;
    /**
     * 分库数量
     */
    private Integer dbNum;
    /**
     * 分表数量
     */
    private Integer tableNum;

    public TableInfo() {

    }

    public TableInfo(String logicTable, Integer dbNum, Integer tableNum) {
        this.logicTable = logicTable;
        this.dbNum = dbNum;
        this.tableNum = tableNum;
    }

    public String getLogicTable() {
        return logicTable;
    }

    public void setLogicTable(String logicTable) {
        this.logicTable = logicTable;
    }

    public Integer getDbNum() {
        return dbNum;
    }

    public void setDbNum(Integer dbNum) {
        this.dbNum = dbNum;
    }

    public Integer getTableNum() {
        return tableNum;
    }

    public void setTableNum(Integer tableNum) {
        this.tableNum = tableNum;
    }
}
